package com.kuaiyiwang.springcloud.alibaba.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.kuaiyiwang.springcloud.entities.CommonResult;
import com.kuaiyiwang.springcloud.entities.Payment;

public class CustomerBlockHandler {


    public CommonResult handleException(BlockException exception){
        return  new CommonResult(4444,"按客户自定义,global handerException");
    }

    public CommonResult handleException2(BlockException exception){
        return  new CommonResult(4444,"按客户自定义,global handerException");
    }
}
